Optimal. Leaf size=77 \[ \frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {4 a \sqrt {\sec (c+d x)} \sin (c+d x)}{3 d \sqrt {a+a \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {3890, 3889}
\begin {gather*} \frac {4 a \sin (c+d x) \sqrt {\sec (c+d x)}}{3 d \sqrt {a \sec (c+d x)+a}}+\frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rule 3890
Rubi steps
\begin {align*} \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx &=\frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {2}{3} \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx\\ &=\frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {4 a \sqrt {\sec (c+d x)} \sin (c+d x)}{3 d \sqrt {a+a \sec (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 49, normalized size = 0.64 \begin {gather*} \frac {2 (2+\cos (c+d x)) \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{3 d \sqrt {\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 68, normalized size = 0.88
method | result | size |
default | \(-\frac {2 \left (\cos ^{2}\left (d x +c \right )+\cos \left (d x +c \right )-2\right ) \sqrt {\frac {a \left (1+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \left (\cos ^{2}\left (d x +c \right )\right )}{3 d \sin \left (d x +c \right )}\) | \(68\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.54, size = 113, normalized size = 1.47 \begin {gather*} \frac {\sqrt {2} {\left (3 \, \cos \left (\frac {2}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right ) \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) - 3 \, \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) \sin \left (\frac {2}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right ) + 2 \, \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 3 \, \sin \left (\frac {1}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right )\right )} \sqrt {a}}{6 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.88, size = 66, normalized size = 0.86 \begin {gather*} \frac {2 \, {\left (\cos \left (d x + c\right )^{2} + 2 \, \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{3 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a \left (\sec {\left (c + d x \right )} + 1\right )}}{\sec ^{\frac {3}{2}}{\left (c + d x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.30, size = 69, normalized size = 0.90 \begin {gather*} \frac {\cos \left (c+d\,x\right )\,\left (4\,\sin \left (c+d\,x\right )+\sin \left (2\,c+2\,d\,x\right )\right )\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (c+d\,x\right )+1\right )}{\cos \left (c+d\,x\right )}}}{3\,d\,\left (\cos \left (c+d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________